Mollie\WooCommerce\Payment\MollieOrder C

Total Complexity 107
Dependencies 13
Dependents 2
Total lines 679
Lines of code 443
Logical lines of code 296
Comment lines 190
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
A
42 14 44
refund()
A
42 11 46
processOrderItemsRefund()
A
43 11 42
refund_amount()
A
47 8 31
refund_order_items()
A
49 8 28
getCustomerBirthdate()
A
52 8 23
onWebhookCanceled()
S
49 7 29
onWebhookCompleted()
S
49 5 29
onWebhookExpired()
S
51 4 25
onWebhookPaid()
S
51 4 25
maybeUpdateStatus()
S
59 4 13
onWebhookAuthorized()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
58 3 14
getPaymentObject()
S
60 3 11
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
addSequenceTypeFirst()
S
76 1 4
onWebhookFailed()
S
62 1 10
setActiveMolliePayment()
S
67 1 8
__construct()
S
64 1 10